import Vue from 'vue'
import Vuex from 'vuex'
import attribute from './modules/attribute'
import equipment from './modules/equipment'
import specialEquipment from './modules/specialEquipment'
import sect from './modules/sect'
import theme from './modules/theme'
import items from './modules/items'
import user from './modules/user'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    attribute,
    equipment,
    specialEquipment,
    sect,
    theme,
    items,
    user
  },
  strict: process.env.NODE_ENV !== 'production'
})